import {RouteRecordRaw} from "vue-router";
import HomeView from "@/views/HomeView.vue";
import UserLogin from '@/views/UserLogin.vue'
import TestDetailPage from "@/views/TestDetailPage.vue";
import TestDetailPage2 from "@/views/TestDetailPage2.vue";
import {defineComponent, h} from "vue";
import {guid} from "@utils";

const routes: Array<RouteRecordRaw> = [
  {
    path: '/login',
    name: 'login',
    component: UserLogin
  },
  {
    path: '/',
    name: 'home',
    component: HomeView,
  },
  {
    path: '/testDetailPage',
    name: 'testDetailPage',
    component: TestDetailPage,
  },
  {
    path: '/testDetailPage2',
    name: 'testDetailPage2',
    component: TestDetailPage2,
  },
];

export default routes